<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="assets/mui/css/mui.min.css">
    <link rel="stylesheet" href="css/base.css">
    <!-- <link rel="stylesheet" href="css/index.css"> -->
    <link rel="stylesheet" href="css/category.css">
    <script src="assets/zepto/zepto.min.js"></script>
    <script src="assets/mui/js/mui.min.js"></script>
</head>

<body>
    <header class="mui-bar mui-bar-nav my-header">

        <h1 class="mui-title">乐淘海购</h1>
        <a class="mui-icon mui-icon-search mui-pull-right"></a>
    </header>
    <nav class="mui-bar mui-bar-tab footer my-footer">
        <a class="mui-tab-item mui-active" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="cart.html">
            <span class="mui-icon iconfont icon-gouwuche"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="user.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>
        <div class="mui-content">
            <div class="mui-left">
                <div class="mui-scroll-wrapper">
                    <ul class="mui-scroll">
    
                    </ul>
                </div>
            </div>
            <div class="mui-right">
                <div class="mui-scroll-wrapper">
                    <ul class="mui-scroll">
    
                    </ul>
                </div>
            </div>
        </div>
    </body>
    <script src="./js/category.js"></script>
    <script src="./assets/artTemplate/template-web.js"></script>
    <script id="left" type="text/template">
        {{each rows value index}}
        <li class="{{index==0?'active':''}}" data-id="{{value.id}}"><a href="#">{{value.categoryName}}</a></li>
    {{/each}}
</script>
    <script id='right' type='text/template'>
        {{each rows value index}}
        <li>
            <img src="{{value.brandLogo}}" alt="">
            {{value.brandName}}
        </li>
        {{/each}}
    </script>
</html>